package com.e3.basdoc.region.server;

import com.e3.basdoc.region.service.RegionQueryService;
import com.e3.basdoc.region.service.RegionService;
import com.e3.core.base.ServiceLocator;

public class RegionServiceClient {
	
	private static RegionService regionService;

	private static RegionQueryService regionQueryService;

	public static RegionService getRegionService() {
		if (regionService == null) {
			regionService = ServiceLocator.getService(RegionService.class);
		}
		return regionService;
	}

	public static RegionQueryService getRegionQueryService() {
		if (regionQueryService == null) {
			regionQueryService = ServiceLocator.getService(RegionQueryService.class);
		}
		return regionQueryService;
	}

}
